package com.demo.design.creational.abstractfactory;

import com.demo.design.creational.simplefactory.Banana;
import com.demo.design.creational.simplefactory.Fruit;
import com.demo.design.creational.simplefactory.Potato;
import com.demo.design.creational.simplefactory.Vagetable;

public class DartzonFactory implements InitFactoty {
    @Override
    public Fruit getFruit() {
        return new Banana();
    }

    @Override
    public Vagetable getVagetable() {
        return new Potato();
    }
}
